package com.coder.baseapp.mvp.base;

import android.os.Bundle;
import android.support.annotation.LayoutRes;

/**
 * @Author: Tua.CoderGui
 * *
 * @Date: 2017/3/9
 * *
 * Copyright (c) 2017 All Rights Reserved.
 */
public interface ILayoutControl {

    @LayoutRes
    int getLayoutId();

    void initView(Bundle savedInstanceState);

    void openActivity(Class<?> clazz);

    void openActivity(Class<?> clazz, Bundle bundle);

    void openActivityWithResult(Class<?> clazz);

    void openActivityWithResult(Class<?> clazz, int code);

    void openActivityWithResult(Class<?> clazz, int code, Bundle bundle);

    void showToastLong(String txt);

    void showToastShort(String txt);

}
